package com.taol.tab_05_indent_fragment;

import com.taol.ataoloveapp.R;
import com.taol.tab_05_indent.GetIndentInfo3;
import com.taol.tab_05_indent.GetIndentInfo4;
import com.taol.tab_05_indent.IndentAdapter4;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

public class FragmentTab4 extends Fragment{
	
	private ListView lv4;
	private IndentAdapter4 myIndentAdapter4;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.indent_tab4, container,false);
		
		GetIndentInfo4.getIndentInfo(getActivity());
		myIndentAdapter4 = new IndentAdapter4(GetIndentInfo4.lvIndents,getActivity());
		lv4 = (ListView)view.findViewById(R.id.indentLv4);
		lv4.setAdapter(myIndentAdapter4);
		
		return view;
	}

}
